package com.yunc.modules.sys.entity.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SysMenuDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String index;

    private String title;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String icon;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<SysMenuDTO> subs;

}
